package cn.zjweu.mapper;

import cn.zjweu.pojo.Admin;
import cn.zjweu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface LoginMapper {
    /**
     * 登录是否成功
     * @return List
     */
   Admin AdminLogin(@Param("username") String admin_name, @Param("password") String admin_pwd);
   User UserLogin(@Param("username") String true_name, @Param("password") String user_pwd);

}
